<div class="auth-register-form">
	<?if(!CUser::IsAuthorized()):?>
	<?CMain::ShowArrayError($arResult['ERROR'])?>
	<form action="" name="USER_FORM" method="POST">
		<label for="myid">Логин </label>
		<?CForm::ShowField(array(
			'TYPE'=>'TEXT',
			'NAME'=>'USER_LOGIN',
			'SIZE'=>'10',
			'VALUE'=>$_REQUEST['USER_LOGIN'],
			'VALUE_DEFAULT'=>'',
			'TITLE'=>'Ваш логин',
			'CLASS'=>'',
			'ID'=>'myid',
		));?><!--<input type="text" name="USER_LOGIN" size="15" value="admin" />-->
		<label for="mypassid">Пароль </label><?CForm::ShowField(array(
			'TYPE'=>'PASSWORD',
			'NAME'=>'USER_PASSWORD',
			'SIZE'=>'10',
			'VALUE'=>$_REQUEST['USER_PASSWORD'],
			'VALUE_DEFAULT'=>'',
			'CLASS'=>'',
			'ID'=>'mypassid',
		));?><!--<input type="text" name="USER_PASSWORD" size="10" value="password" />-->
		<input type="submit" name="AUTH_USER" value="Войти" />
		Повтор пароля <input type="text" name="USER_CONFIRM_PASSWORD" size="10" value="" />
		Почта <input type="text" name="USER_EMAIL" size="20" value="" />
		<input type="submit" name="REGISTER_USER" value="Зарегистрироваться" />
	</form>
	<?else:?>
	<a href="?logout=Y">Quit</a>
	<?endif;?>
</div>